import requests

from com.yh.likeshop.utils.utils import like_host


class User():


    def login(self,account,password,client):
        user = {
            "account": account,
            "password": password,
            "client": client
        }
        # 调用登录接口
        resp = requests.post(like_host + "/api/account/login", json=user)
        # 返回结果
        return resp